package com.wuye.model;

import java.io.Serializable;
import javax.persistence.*;

@Entity
@Table(name="wuye_order_item")
public class OrderItem implements Serializable{
	@Id
	@Column(name = "item_id")
	private String itemId;
	public String getItemId(){
		return this.itemId;
	}
	public void setItemId(String arg){
		this.itemId=arg;
	}

	@Column(name = "order_num")
	private String orderNum;
	public String getOrderNum(){
		return this.orderNum;
	}
	public void setOrderNum(String arg){
		this.orderNum=arg;
	}

	@Column(name = "menu_id")
	private String menuId;
	public String getMenuId(){
		return this.menuId;
	}
	public void setMenuId(String arg){
		this.menuId=arg;
	}

	@Column(name = "item_name")
	private String itemName;
	public String getItemName(){
		return this.itemName;
	}
	public void setItemName(String arg){
		this.itemName=arg;
	}

	@Column(name = "item_price")
	private Float itemPrice;
	public Float getItemPrice(){
		return this.itemPrice;
	}
	public void setItemPrice(Float arg){
		this.itemPrice=arg;
	}

	@Column(name = "amount")
	private Integer amount;
	public Integer getAmount(){
		return this.amount;
	}
	public void setAmount(Integer arg){
		this.amount=arg;
	}
}